package 桥接模式;

public class main {
    public static void main(String[] args) {
        DriverMangerBridge driverMangerBridge = new MyDriverBridge();
        driverMangerBridge.setDriver(new MysqlDriver());
        driverMangerBridge.execute();

        driverMangerBridge.setDriver(new OracleDriver());
        driverMangerBridge.execute();
    }
}
